<% form_for :role, :url => admin_roles_path do |f| -%>
  <%= f.error_messages %>
  Name: <%= f.text_field :name %>
  <%= f.submit "创建role" %>
<% end %>

<%= link_to 'Back', admin_roles_path %>